<div class="panel panel-default panel-intro">
    {:build_heading()}

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                        <a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('weblog/log/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i>
                            {:__('Delete')}</a>
                        <a class="btn btn-success btn-change btn-start" data-url="weblog/log/site"   href="javascript:;"><i class="fa fa-pie-chart"></i> 站点占比统计</a>
                        <a class="btn btn-primary btn-change btn-start" data-url="weblog/log/spider" href="javascript:;"><i class="fa fa-bar-chart"></i> 蜘蛛占比统计</a>
                        <a class="btn btn-info btn-change btn-start"    data-url="weblog/log/url"    href="javascript:;"><i class="fa fa-line-chart"></i> URL流量统计</a>
                        <a class="btn btn-warning btn-change btn-start" data-url="weblog/log/ip"     href="javascript:;"><i class="fa fa-bar-chart"></i> IP流量统计</a>
                        <a class="btn btn-danger btn-change btn-start"  data-url="weblog/log/code"   href="javascript:;"><i class="fa fa-area-chart"></i> 访问状态统计</a>
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-del="{:$auth->check('weblog/log/del')}"
                           width="100%">
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>


<script id="site_tpl" type="text/html">
    <input id="c-site_id" data-source="weblog/site/index" class="form-control selectpage" placeholder="请选择站点" name="site_id" type="text" value="">
    <input type="hidden" class="operate" data-name="site_id" value="=" />
</script>

<script id="spider_tpl" type="text/html">
    <input id="c-spider_id" data-source="weblog/spider/index" class="form-control selectpage" placeholder="请选择蜘蛛" name="spider_id" type="text" value="">
    <input type="hidden" class="operate" data-name="spider_id" value="=" />
</script>